var u = {
	IDNumber: '', 
	openId: '',
	name: '',
	avatar: '',
	session_key: '',
}
import { reactive,watch } from "vue"
export default function() {
	let userInfo = reactive({
		IDNumber: u.IDNumber,
		openId: u.openId,
		name: u.name,
		avatar: u.avatar,
		session_key: u.session_key,
	})
	
	watch(userInfo, (newVal) =>{
    u = newVal
  })

	return userInfo
}